createInstance

abstract fun createInstance(component: DesignBlock): DesignBlock

Creates an instance of a main component. Attach it with appendChild. An instance follows every property that it does not override. Its children cannot be added, reordered or destroyed. Hide a child with setVisible.

Return

the result.

Parameters

component

the component.